package cn.com.entity;

/**
 * <p>Project:APIapps - t_studentService
 *
 * @author 黄俊玮 On Administrator
 * @version 1.0
 * @DataTime 2024/6/12 23:12:07
 * @since 1.8
 */
public class Student {
    private int sid;//id
    private String sname;//姓名
    private int user;//电话号
    private String pwd;//密码
    private String cid;//班级id
    private String cname;//班级名称

    public Student() {
    }

    public Student(int sid, String sname, int user, String pwd, String cid, String cname) {
        this.sid = sid;
        this.sname = sname;
        this.user = user;
        this.pwd = pwd;
        this.cid = cid;
        this.cname = cname;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public int getUser() {
        return user;
    }

    public void setUser(int user) {
        this.user = user;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", user=" + user +
                ", pwd='" + pwd + '\'' +
                ", cid='" + cid + '\'' +
                ", cname='" + cname + '\'' +
                '}';
    }
}
